home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / CIncludes / OCEErrors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-17  |  18.3 KB  |  379 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        OCEErrors.h
  3.  
  4.      Contains:    Apple Open Collaboration Environment Error Interfaces.
  5.  
  6.      Version:    Technology:    AOCE Toolbox 1.02
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    Â© 1994-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17. #ifndef __OCEERRORS__
  18. #define __OCEERRORS__
  19.  
  20. #ifndef __ERRORS__
  21. #include <Errors.h>
  22. #endif
  23.  
  24.  
  25.  
  26. #if PRAGMA_ONCE
  27. #pragma once
  28. #endif
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34. #if PRAGMA_IMPORT
  35. #pragma import on
  36. #endif
  37.  
  38. #if PRAGMA_STRUCT_ALIGN
  39.     #pragma options align=mac68k
  40. #elif PRAGMA_STRUCT_PACKPUSH
  41.     #pragma pack(push, 2)
  42. #elif PRAGMA_STRUCT_PACK
  43.     #pragma pack(2)
  44. #endif
  45.  
  46. /*
  47. Allocated ranges:
  48.     AOCE General Errors                        -1500 to -1539
  49.     AOCE Authentication Errors                -1540 to -1609
  50.     AOCE Catalog Errors                        -1610 to -1680
  51.     
  52.     AOCE Standard Mail Errors                -1900 to -1949
  53.     AOCE Standard Catalog Errors            -1950 to -1969
  54.     AOCE Digital Signature Errors            -1970 to -1999
  55.  
  56.     AOCE Templates Errors                    -15000 to -15039
  57.     AOCE Mail Errors                        -15040 to -15089
  58.     AOCE Messaging Errors                    -15090 to -15169
  59.     Reserved for future                        -15170 to -15199
  60. */
  61.  
  62. /* AOCE General Errors (-1500 to -1539) */
  63.  
  64. enum {
  65.     kOCEToolboxNotOpen            = -1500,                        /* Toolbox not open; perhaps its closing */
  66.     kOCEInvalidCommand            = -1501,                        /* Request code passed to a trap call is invalid */
  67.     kOCEInvalidRef                = -1502,                        /* a reference to an object is obsolete or invalid */
  68.     kOCEBufferTooSmall            = -1503,                        /* the buffer supplied is too small for the task */
  69.     kOCEVersionErr                = -1504,                        /* some manner of software version mismatch */
  70.     kOCESyncAsyncErr            = -1505,                        /* Op tried synchronously may only be done async, or vice versa */
  71.     kOCEInternalErr                = -1506,                        /* the OCE toolbox has an internal error */
  72.     kOCENotAnOwner                = -1507,                        /* this operation can only be done by the object's owner */
  73.     kOCENotImplemented            = -1508,                        /* Feature not implemented */
  74.     kOCENotAuthenticated        = -1509,                        /* The user must be authenticated */
  75.     kOCEAlreadyExists            = -1510,                        /* The object being added already exists */
  76.     kOCEDoesntExist                = -1511,                        /* the object being referenced doesn't exist or cannot be found */
  77.     kOCEConnectionErr            = -1512,                        /* Unable to open or maintain a network transport */
  78.     kOCEConnectionClosed        = -1513,                        /* Connect has closed */
  79.     kOCEInvalidRecipient        = -1514,                        /* Invalid recipient/address for this command */
  80.     kOCEInvalidIndex            = -1515,                        /* invalid index (out of range) */
  81.     kOCERefIsClosing            = -1516,                        /* Object references is being closed, cannot complete command */
  82.     kOCEHasPendingMsgs            = -1517,
  83.     kOCEInvalidConfiguration    = -1518,
  84.     kOCERequiredServicesNotAvailable = -1519,
  85.     kOCEServerInactive            = -1520,
  86.     kOCEMoreDiskSpaceNeeded        = -1521,                        /* Inadequate disk space to safely complete operation */
  87.     kOCEParamErr                = paramErr                        /* invalid parameter passed to toolbox */
  88. };
  89.  
  90. /* AOCE Authentication Errors (-1540 to -1609) */
  91.  
  92. enum {
  93.     kOCEReadAccessDenied        = -1540,
  94.     kOCEWriteAccessDenied        = -1541,
  95.     kOCEAccessRightsInsufficient = -1542,                        /* stream needs to be authenticated, or not authorized, or someone other than agent trying to TPFC, or problem in server-to-server authentication */
  96.     kOCEUnsupportedCredentialsVersion = -1543,                    /* don't know how to read that version of credentials */
  97.     kOCECredentialsProblem        = -1544,                        /* couldn't successfully decrypt credentials */
  98.     kOCECredentialsImmature        = -1545,                        /* current time < first valid time */
  99.     kOCECredentialsExpired        = -1546,                        /* current time > expiry time */
  100.     kOCEProxyImmature            = -1547,                        /* current time < proxy start time */
  101.     kOCEProxyExpired            = -1548,                        /* current time > proxy expiry time */
  102.     kOCEDisallowedRecipient        = -1549,                        /* Recipient not specified in proxy */
  103.     kOCENoKeyFound                = -1550,                        /* found no key for entity in question */
  104.     kOCEPrincipalKeyNotFound    = -1551,                        /* couldn't decode proxy because principal has no key */
  105.     kOCERecipientKeyNotFound    = -1552,                        /* recipient has no key */
  106.     kOCEAgentKeyNotFound        = -1553,                        /* in TPFC, agent has no key */
  107.     kOCEKeyAlreadyRegistered    = -1554,                        /* entity already has a key */
  108.     kOCEMalformedKey            = -1555,                        /* key is of an unknown encryption method, or key doesn't match password */
  109.     kOCEUndesirableKey            = -1556,                        /* password too short, key too simple, or trying to change cluster key to the same value */
  110.     kOCEWrongIdentityOrKey        = -1557,                        /* In CheckIdentity, name doesn't exist or key is wrong */
  111.     kOCEInitiatorKeyProblem        = -1558,                        /* either we couldn't find the initiator's key or we found it but couldn't successfully decrypt instructions or proxy */
  112.     kOCEBadEncryptionMethod        = -1559,                        /* the specified encryption method is not supported */
  113.     kOCELocalIdentityDoesNotExist = -1560,                        /* LocalIdentity has to be setup */
  114.     kOCELocalAuthenticationFail    = -1561,                        /* LocalIdentity Login has to be done for this operation */
  115.     kOCELocalIdentitySetupExists = -1562,                        /* LocalIdentity setup exists, use change instead of setup */
  116.     kOCEDirectoryIdentitySetupExists = -1563,                    /* DirectoryIdentity setup exists, use change instead of setup */
  117.     kOCEDirectoryIdentitySetupDoesNotExist = -1564,                /* DirectoryIdentity setup does not exist */
  118.     kOCENotLocalIdentity        = -1565,                        /* Use LocalIdentity calls instead! */
  119.     kOCENoMoreIDs                = -1566,                        /* identity table is full */
  120.     kOCEUnknownID                = -1567,                        /* identity passed is not valid */
  121.     kOCEOperationDenied            = -1568,                        /* LocalID operation denied */
  122.     kOCEAmbiguousMatches        = -1569,                        /* ambiguous matches found in resolving CIDs (more than 1 CID) */
  123.     kOCENoASDSPWorkSpace        = -1570,                        /* No ASDSP workspace passed for Open Secure Stream */
  124.     kOCEAuthenticationTrouble    = -1571                            /* generic authentication problem */
  125. };
  126.  
  127. /* AOCE Catalog Errors (-1610 to -1680) */
  128.  
  129. enum {
  130.     kOCENotLocal                = -1610,                        /* the server does not serve the requested dNode */
  131.     kOCETooBusy                    = -1611,                        /* server cannot complete call at this time */
  132.     kOCEDatabaseFull            = -1612,                        /* disk is full */
  133.     kOCETargetDirectoryInaccessible = -1613,                    /* Catalog server not responding */
  134.     kOCEBogusArgs                = -1614,                        /* Args not formatted correctly on the wire */
  135.     kOCENoSuchDNode                = -1615,                        /* the requested dNode does not exist */
  136.     kOCEDNodeUnavailable        = -1616,                        /* could not find any servers that serve the requested dNode */
  137.     kOCEBadRecordID                = -1617,                        /* invalid RecordID (usually name and/or type don't match cid) */
  138.     kOCENoSuchRecord            = -1618,                        /* the specified record does not exist */
  139.     kOCENoSuchAttributeValue    = -1619,                        /* The attribute value that was passed in does not exist */
  140.     kOCENoSuchPseudonym            = -1620,                        /* the specified pseudonym does not exist */
  141.     kOCEAttributeValueTooBig    = -1621,                        /* self-explanatory */
  142.     kOCETypeExists                = -1622,                        /* The type already exists in the record */
  143.     kOCEMoreData                = -1623,                        /* only a warning - buffer not big enough */
  144.     kOCERefNumBad                = -1624,                        /* RefNum is not valid */
  145.     kOCEStreamCreationErr        = -1625,                        /* problem creating stream */
  146.     kOCEOperationNotSupported    = -1626,                        /* the specified catalog does not support this operation */
  147.     kOCEPABNotOpen                = -1627,                        /* specified Personal Catalog is not open to make the operation */
  148.     kOCEDSAMInstallErr            = -1628,                        /* specified CSAM could not be installed */
  149.     kOCEDirListFullErr            = -1629,                        /* catalog list is full, try removing an entry */
  150.     kOCEDirectoryNotFoundErr    = -1630,                        /* catalog was not found in the list */
  151.     kOCEAbortNotSupportedForThisCall = -1631,                    /* this call cannot be aborted */
  152.     kOCEAborted                    = -1632,                        /* this call was aborted */
  153.     kOCEOCESetupRequired        = -1633,                        /* LocalIdentity Setup is required */
  154.     kOCEDSAMRecordNotFound        = -1634,                        /* CSAM Record not found */
  155.     kOCEDSAMNotInstantiated        = -1635,                        /* CSAM is not instantiated */
  156.     kOCEDSAMRecordExists        = -1636,                        /* CSAM record already exists */
  157.     kOCELengthError                = -1637,                        /* supplied buffer was too small */
  158.     kOCEBadStartingRecord        = -1638,                        /* Lookup starting record is not within range */
  159.     kOCEBadStartingAttribute    = -1639,                        /* Lookup starting attribute is not within range */
  160.     kOCEMoreAttrValue            = -1640,                        /* attribute value could not fit into buffer (even though it was the only value) */
  161.     kOCENoDupAllowed            = -1641,
  162.     kOCENoSuchAttributeType        = -1642,
  163.     kOCEMiscError                = -1643,                        /* some other error */
  164.     kOCENoSuchIcon                = -1644,                        /* no matching icon from GetDirectoryIcon */
  165.     kOCERLIsDontMatch            = -1645,                        /* RLIs do not match in lookup */
  166.     kOCEDirectoryCorrupt        = -1646                            /* Serious disk fill corruption problem */
  167. };
  168.  
  169. /* AOCE Standard Mail Errors (-1900 to -1949) */
  170.  
  171. enum {
  172.     kSMPNotEnoughMemoryForAllRecips = -1900,
  173.     kSMPCopyInProgress            = -1901,
  174.     kSMPMailerNotInitialized    = -1902,
  175.     kSMPShouldNotAddContent        = -1903,
  176.     kSMPMailboxNotFound            = -1904,
  177.     kSMPNoNextLetter            = -1905,
  178.     kSMPHasOpenAttachments        = -1906,
  179.     kSMPFinderNotRunning        = -1907,
  180.     kSMPCommandDisabled            = -1908,
  181.     kSMPNoMailerInWindow        = -1909,
  182.     kSMPNoSuchAddress            = -1910,
  183.     kSMPMailerAlreadyInWindow    = -1911,
  184.     kSMPMailerUneditable        = -1912,
  185.     kSMPNoMatchingBegin            = -1913,
  186.     kSMPCannotSendReceivedLetter = -1914,
  187.     kSMPIllegalForDraftLetter    = -1915,
  188.     kSMPMailerCannotExpandOrContract = -1916,
  189.     kSMPMailerAlreadyExpandedOrContracted = -1917,
  190.     kSMPIllegalComponent        = -1918,
  191.     kSMPMailerAlreadyNotTarget    = -1919,
  192.     kSMPComponentIsAlreadyTarget = -1920,
  193.     kSMPRecordDoesNotContainAddress = -1921,
  194.     kSMPAddressAlreadyInList    = -1922,
  195.     kSMPIllegalSendFormats        = -1923,
  196.     kSMPInvalidAddressString    = -1924,
  197.     kSMPSubjectTooBig            = -1925,
  198.     kSMPParamCountErr            = -1926,                        /*  enclosure count != 1, while sendEnclosure Only == true. */
  199.     kSMPTooManyPages            = -1927,                        /*  Exceeding the image page limit. */
  200.     kSMPTooManyEnclosures        = -1928
  201. };
  202.  
  203. /* AOCE Standard Catalog Errors (-1950 to -1969) */
  204.  
  205. enum {
  206.     kSDPNoSearchText            = -1950,
  207.     kSDPTooManyLoginAttempts    = -1951,
  208.     kSDPNoSelection                = -1952,
  209.     kSDPPersonalDirectoryRepairFailed = -1953
  210. };
  211.  
  212. /* AOCE Digital Signature Errors (-1970 to -1999) */
  213.  
  214. enum {
  215.     kSIGOperationIncompatibleErr = -1970,                        /* context in use for different type of operation */
  216.     kSIGCertificateQueryDenied    = -1971,                        /* can't query certificates with this context */
  217.     kSIGVerifyFailedErr            = -1972,                        /* verification failed */
  218.     kSIGInvalidCredentialErr    = -1973,                        /* verified OK but credential out of date,  either pending or expired */
  219.     kSIGIndexErr                = -1974,                        /* the index given is outside the range of allowable values */
  220.     kSIGSignerErr                = -1975,                        /* problem with the signer or signature itself */
  221.     kSIGPasswordErr                = -1976,                        /* password is incorrect */
  222.     kSIGInternalsErr            = -1977,                        /* an internal error occurred like a bad digest, context or signature */
  223.     kSIGToolboxNotPresentErr    = -1978,                        /* for client services (ie servers) to report back - not retruned by the TB */
  224.     kSIGContextPrepareErr        = -1979,                        /* context either prepared with VerifyPrepare, SignPrepare or DigestPrepare already or has been corrupted */
  225.     kSIGNoDigestErr                = -1980,                        /* no digest in the signature */
  226.     kSIGConversionErr            = -1981,                        /* unabled to convert an attribute to Mac format */
  227.     kSIGSignerNotValidErr        = -1982,                        /* Signer has either expired or is pending and can not sign */
  228.     kSIGNoSignature                = -1983                            /* standard file signature not found */
  229. };
  230.  
  231. /* AOCE Templates Errors (-15000 to -15039) */
  232.  
  233. enum {
  234.     kDETInvalidTargetAspectName    = -15000,                        /* Could not locate an aspect by name */
  235.     kDETInvalidTargetItemNumber    = -15001,                        /* Item number is target invalid (out of range 1..<number of children>) */
  236.     kDETInvalidTargetFromNonAspect = -15002,                    /* Target selection relative to non-aspect object which requires an aspect */
  237.     kDETInvalidTargetDSSpec        = -15003,                        /* Target DSSpec could not be resolved */
  238.     kDETUnknownTargetSelector    = -15004,                        /* Unknown selector type for target specification */
  239.     kDETInvalidTarget            = -15005,                        /* Target specification was invalid (for reasons other than those above) */
  240.     kDETTargetNotAnAspect        = -15006,                        /* Specified target object was not an aspect */
  241.     kDETInvalidCommandItemNumber = -15007,                        /* Command item number invalid (out of range 1..<number of items in selection>) */
  242.     kDETUnableToGetCommandItemSpec = -15008,                    /* Unable to retrieve item specification (internal error, possibly out of memory) */
  243.     kDETRequestedTypeUnavailable = -15009,                        /* Command item could not be represented in the form requested */
  244.     kDETInvalidDSSpec            = -15010,                        /* Could not resolve DSSpec (other than in target; see error above for targets) */
  245.     kDETUnableToAccessProperty    = -15011,                        /* Property could not be found and/or created */
  246.     kDETInfoPageNotOpen            = -15012,                        /* Info-page not open; request requires an open info-page */
  247.     kDETNoSuchView                = -15013,                        /* No view found with specified property number */
  248.     kDETCouldNotAddMenuItem        = -15014,                        /* Could not add item to dynamic menu */
  249.     kDETCouldNotRemoveMenuItem    = -15015,                        /* Could not remove item from dynamic menu */
  250.     kDETCouldNotFindMenuItem    = -15016,                        /* Could not find menu item */
  251.     kDETCouldNotFindCustomView    = -15017,                        /* Could not find custom view in info-page */
  252.     kDETInvalidReqFunction        = -15018,                        /* Invalid call-back request function */
  253.     kDETInvalidCallBack            = -15019,                        /* Invalid call-back (for reasons other than those above) */
  254.     kDETPropertyBusy            = -15020                        /* Edit is open on the property being set */
  255. };
  256.  
  257. /* AOCE Mail Errors (-15040 to -15089) */
  258.  
  259. enum {
  260.     kMailInvalidOrder            = -15040,                        /* This object has already been written to and cannot be written again */
  261.                                                                 /* handle non-zero offsets for now */
  262.     kMailInvalidSeqNum            = -15041,                        /* Invalid letter sequence o refers to an non–existent letter */
  263.     kMailAttrNotInHdr            = -15042,                        /* attribute does not exist in this letter header */
  264.     kMailHdrAttrMissing            = -15043,                        /* required attribute not written into letter header */
  265.     kMailBadEnclLengthErr        = -15044,                        /* incorrect number of bytes has been written after memForm of PutEnclosure */
  266.     kMailInvalidRequest            = -15045,                        /* cannot putAttr for report, putRcptReport for letter */
  267.     kMailInvalidPostItVersion    = -15046,                        /* cannot create new postit with this version */
  268.     kMailNotASlotInQ            = -15047,                        /* queueID does not refer to a slot's incoming queue */
  269.     kMailLtrNotOpen                = -15048,                        /* letter is not open, probably not cached in inQ */
  270.     kMailMissingMailCat            = -15049,                        /* trying to create message in inq, with no postIt */
  271.     kMailCannotWriteMailCat        = -15050,                        /* cannot update a mail catentry */
  272.     kMailTooManyTagsPerLetter    = -15051,                        /* cannot add more than kMaxTagsPerLetter tags */
  273.     kMailGwyDead                = -15052,                        /* MSAM died */
  274.     kMailIgnoredErr                = -15053,                        /* ePPC message was ignored */
  275.     kMailLengthErr                = -15054,                        /* ePPC message did not complete */
  276.     kMailTooManyErr                = -15055,                        /* Too many = request outstanding, */
  277.     kMailNoMSAMErr                = -15056,                        /* no MSAMs found in mailbox! or for command */
  278.     kMailCancelled                = -15057,
  279.     kMailSlotSuspended            = -15058,
  280.     kMailMSAMSuspended            = -15059,
  281.     kMailBadSlotInfo            = -15060,
  282.     kMailMalformedContent        = -15061,                        /* a mailed structure is malformed */
  283.     kMailNoSuchSlot                = -15062,                        /* no such slot */
  284.     kMailBadLtrInfo                = -15063,                        /* bad info there, can't change */
  285.     kMailSetFailed                = -15064,                        /* could not set letter info */
  286.     kMailBadConfig                = -15065,                        /* MSAM has bad config info */
  287.     kMailBadMSAM                = -15066,                        /* bad MSAM: not usable = reason unspec, */
  288.     kMailCannotLkupServerSlots    = -15067,                        /* cannot lookup adas for server mail slots */
  289.     kMailBadState                = -15068                        /* the state specifiy is not in any of defined */
  290. };
  291.  
  292. /* AOCE Messaging Errors (-15090 to -15169) */
  293.  
  294. enum {
  295.     kIPMCantCreateIPMCatEntry    = -15090,
  296.     kIPMInvalidMsgType            = -15091,                        /* bad msg hint */
  297.     kIPMInvalidProcHint            = -15092,                        /* bad proc hint */
  298.     kIPMInvalidOffset            = -15093,                        /* bad offset for read/write */
  299.     kIPMUpdateCatFailed            = -15094,
  300.     kIPMMsgTypeReserved            = -15095,
  301.     kIPMNotInABlock                = -15096,
  302.     kIPMNestedMsgOpened            = -15097,
  303.     kIPMA1HdrCorrupt            = -15098,
  304.     kIPMCorruptDataStructures    = -15099,
  305.     kIPMAbortOfNestedMsg        = -15100,
  306.     kIPMBlockIsNotNestedMsg        = -15101,
  307.     kIPMCacheFillError            = -15102,
  308.     kIPMInvalidSender            = -15103,
  309.     kIPMNoRecipientsYet            = -15104,
  310.     kIPMInvalidFilter            = -15105,
  311.     kIPMAttrNotInHdr            = -15106,
  312.     kIPMBlkNotFound                = -15107,
  313.     kIPMStreamErr                = -15108,                        /* Error on stream (should this ever go out?) */
  314.     kIPMPortClosed                = -15109,                        /* Port closed (should this ever go out?) */
  315.     kIPMBinBusy                    = -15110,
  316.     kIPMCorruptedBin            = -15111,
  317.     kIPMBadQName                = -15112,
  318.     kIPMEndOfBin                = -15113,
  319.     kIPMBinNeedsConversion        = -15114,
  320.     kIPMMgrInternalErr            = -15115,
  321.     kIPMEltBusy                    = -15116,
  322.     kIPMEltClosedNotDeleted        = -15117,
  323.     kIPMBadContext                = -15118,
  324.     kIPMContextIsClosing        = -15119,
  325.     kIPMeoQ                        = -15120,
  326.     kIPMQOutOfSpace                = -15121,
  327.     kIPMEltNotFound                = -15122,
  328.     kIPMBinOutOfSpace            = -15123,
  329.     kIPMeoCatEntry                = -15124,
  330.     kIPMeoElt                    = -15125,
  331.     kIPMQBusy                    = -15126,
  332.     kIPMNotSameBin                = -15127,
  333.     kIPMNoMoreServices            = -15128,
  334.     kIPMLookupAttrTooBig        = -15129,                        /* attribute in lookup is too big */
  335.     kIPMUnknownUAM                = -15130,
  336.     kIPMUnsupportedLogin        = -15131,
  337.     kIPMLogInUnknown            = -15132,
  338.     kIPMNoMoreFilters            = -15133,
  339.     kIPMCouldNotReadInfoReply    = -15134,
  340.     kIPMInvalidUser                = -15135,
  341.     kIPMNoMoreSessions            = -15136,
  342.     kIPMNilUserProc                = -15137,
  343.     kIPMBadCatSize                = -15138,
  344.     kIPMIncompleteMsg            = -15139,
  345.     kIPMNoResponsibleTunnel        = -15140,
  346.     kIPMAccessDenied            = -15141,
  347.     kIPMReplyParamUnderrun        = -15142,                        /* Too few reply parameters */
  348.     kIPMReplyParamOverrun        = -15143,                        /* Too many reply parameters */
  349.     kIPMRequestParamUnderrun    = -15144,                        /* Too few request parameters */
  350.     kIPMOutOfSync                = -15145,                        /* Protocol sync. error */
  351.     kIPMNoAttrsFound            = -15146,                        /* couldn't find any attrs in lookup */
  352.     kIPMWrongAttrTag            = -15147,                        /* wrong attr tag in adas lookup */
  353.     kIPMNullCID                    = -15148,                        /* null cid in enumerate */
  354.     kIPMBadMailSlotAttrVal        = -15149                        /* invalid mailslot attr value */
  355. };
  356.  
  357.  
  358.  
  359. #if PRAGMA_STRUCT_ALIGN
  360.     #pragma options align=reset
  361. #elif PRAGMA_STRUCT_PACKPUSH
  362.     #pragma pack(pop)
  363. #elif PRAGMA_STRUCT_PACK
  364.     #pragma pack()
  365. #endif
  366.  
  367. #ifdef PRAGMA_IMPORT_OFF
  368. #pragma import off
  369. #elif PRAGMA_IMPORT
  370. #pragma import reset
  371. #endif
  372.  
  373. #ifdef __cplusplus
  374. }
  375. #endif
  376.  
  377. #endif /* __OCEERRORS__ */
  378.  
  379.